﻿@model Downloader.Web.Controllers.ViewModels.FriendlyLinkViewModel
@{
    ViewBag.Title = "Edit";
}

@using (Html.BeginForm("SaveOrUpdate", "FriendlyLink", FormMethod.Post, new { id = "friendlyLinkForm" }))
{
    @Html.HiddenFor(c => c.Id)

    <table cellspacing="0" cellpadding="0" style="padding: 0px; margin: 0px; width: 100%;">
        <tbody>
            <tr class="color3">
                <td width="20%"><p align="left"><b>· 名称</b></p></td>
                <td><p>
                        @Html.TextBoxFor(c => c.Name)
                    </p>
                </td>
            </tr>
            <tr class="color3">
                <td width="20%"><p align="left"><b>· URL地址</b></p></td>
                <td><p>
                     @Html.TextBoxFor(c => c.Url)
                    </p>
                </td>
            </tr>
            <tr class="color3">
                <td width="20%"><p align="left"><b>· 排序</b></p></td>
                <td><p>
                     @Html.TextBoxFor(c => c.Sequence)
                    </p>
                </td>
            </tr>
             <tr class="color3">
                <td width="20%"><p align="left"><b>· LOG图标</b></p></td>
                <td><p>
                     @Html.TextBoxFor(c => c.LogImg)
                    </p>
                </td>
            </tr>
        </tbody>
    </table>
  
}
